package com.binest.projectInclusion.service;


import com.binest.common.core.page.TableDataInfo;
import com.binest.projectInclusion.domain.ProjectInclusion;

import java.util.List;

/**
 * 项目收录Service接口
 * 
 * @author wwd
 * @date 2024-01-24
 */
public interface IProjectInclusionService 
{
    /**
     * 查询项目收录
     * 
     * @param id 项目收录主键
     * @return 项目收录
     */
    public ProjectInclusion selectProjectInclusionById(String id);
    public ProjectInclusion selectEsProjectInclusionById(String id) throws Exception;

    public ProjectInclusion selectProjectInclusionByMainId(String mainId,String lang);

    /**
     * 查询项目收录列表
     * 
     * @param projectInclusion 项目收录
     * @return 项目收录集合
     */
    public List<ProjectInclusion> selectProjectInclusionList(ProjectInclusion projectInclusion);
    public TableDataInfo selectProjectInclusionEsList(ProjectInclusion projectInclusion) throws Exception;
    public TableDataInfo selectProjectInclusionRecommendEsList(ProjectInclusion projectInclusion) throws Exception;



    /**
     * 新增项目收录
     * 
     * @param projectInclusion 项目收录
     * @return 结果
     */
    public String insertProjectInclusion(ProjectInclusion projectInclusion);
    public String insertNewProjectInclusion(ProjectInclusion projectInclusion);

    /**
     * 修改项目收录
     * 
     * @param projectInclusion 项目收录
     * @return 结果
     */
    public int updateProjectInclusion(ProjectInclusion projectInclusion);

    /**
     * 批量删除项目收录
     * 
     * @param ids 需要删除的项目收录主键集合
     * @return 结果
     */
    public int deleteProjectInclusionByIds(String[] ids);

    /**
     * 删除项目收录信息
     * 
     * @param id 项目收录主键
     * @return 结果
     */
    public int deleteProjectInclusionById(String id);
}
